INMap<TKey,TValue> Interface Members
In This Topic
The following tables list the members exposed by INMap<TKey,TValue>.
Public Properties
| Name | Description |
| Item | Gets or sets the value associated with the specified key. The getter implementation throws an exception, if item for the key does not exist. The setter implementation replaces the value, if item for the key exists. |
| Keys | Gets the set of keys |
| Values | Gets the set of values |
Top
Public Methods
| Name | Description |
| Add | Adds a new item with the specified key and value. Throws an exception, if item for this key already exists. |
| Get | Gets the value that corresponds to the specified key. Throws an exception, if item for this key does not exist. |
| Set | Sets the value for the specified key. If key-value association already exists, the value is replaced. |
| TryGet | Tries to get the value for the specified key. |
Top
See Also